﻿namespace SkyDean.FareLiz.WinForm.Components.Controls.DatePicker.EventClasses
{
    using System;

    /// <summary>Provides data for the <see cref="EnhancedMonthCalendar.DateClicked" /> event.</summary>
    public class DateEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DateEventArgs"/> class.
        /// </summary>
        /// <param name="date">
        /// The date value.
        /// </param>
        public DateEventArgs(DateTime date)
        {
            this.Date = date;
        }

        /// <summary>Gets the date value.</summary>
        public DateTime Date { get; private set; }
    }
}